package org.duiduo.common.runtime.xss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;

/**
 * XSS 配置项
 *
 * @author liangze
 * @date 2025/9/4 17:17
 */
@Data
@ConfigurationProperties(prefix = "xss")
public class XssProperties {

    /**
     * 是否开启 XSS
     */
    private boolean enable;

    /**
     * 排除的URL列表
     */
    private List<String> excludeUrls = Collections.emptyList();

}
